<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>首页</title>
</head>
<body>

	
			<p>我的短信息
			<a href="">发送短信</a>
			当前用户：${g.loginName }
			<a href="Backs.jsp">发送短信</a>
			<a href="Login.jsp">退出登录</a>
			</p>
			<c:forEach var="f" items="${f }" >
				<tr>
					<td>
					<form action="TestServlet" method="post">
							<input type="submit" value="${f.title }">
							<input name="msgid" type="hidden" value="${f.msgid }">
					</form>
					</td>
					<td >
						<form action="Delete" method="post">
							<input type="submit" value="删除">
							<input name="delete" type="hidden" value="${f.msgid }">
						</form>
						</td>
					<td >
					<a href="Backs.jsp"><input type="submit" value="回信"></a>
						 ${f.msgtime }
					</td>	
					
				</tr>
			</c:forEach>
	
</body>
</html>